//
//  ByApiShops.h
//  chequanbao_ios
//
//  Created by pro on 2017/6/15.
//  Copyright © 2017年 com.itboye. All rights reserved.
//

#import "ByNetBaseApi.h"

@interface ByApiShops : ByNetBaseApi

// 查询附近商家
+ (void)queryShopsNearby:(ByNetParamsModel *)model
                 success:(void(^)(ByNetBaseResult *result))success
                 failure:(void(^)(ByNetBaseResult *result))failure;

// 获取商家详情
+ (void)getShopsDetail:(ByNetParamsModel *)model
               success:(void(^)(ByNetBaseResult *result))success
               failure:(void(^)(ByNetBaseResult *result))failure;

// 获取填写金额前的信息
+ (void)getPayInfo:(ByNetParamsModel *)model
           success:(void(^)(ByNetBaseResult *result))success
           failure:(void(^)(ByNetBaseResult *result))failure;


// 生成支付订单
+ (void)getPayOrder:(ByNetParamsModel *)model
            success:(void(^)(ByNetBaseResult *result))success
            failure:(void(^)(ByNetBaseResult *result))failure;

// 获取类目
+ (void)getShopCate:(ByNetParamsModel *)model
            success:(void(^)(ByNetBaseResult *result))success
            failure:(void(^)(ByNetBaseResult *result))failure;

// 评价商家
+ (void)evaluateShop:(ByNetParamsModel *)model
             success:(void(^)(ByNetBaseResult *result))success
             failure:(void(^)(ByNetBaseResult *result))failure;

@end
